package com.lanou.utp.service;

import com.lanou.utp.entity.Paging;
import com.lanou.utp.entity.WarningPlan;

import java.util.List;

public interface WarningPlanService {

    List<WarningPlan> listWarningPlans(Integer type, Integer page, Integer number);

    Paging getPaging(Integer type, Integer page);

    int addWarningPlan(WarningPlan warningPlan);

    int updateWarningPlan(WarningPlan warningPlan);

    int deleteWarningPlan(Integer id);

}
